<template>
  <div>
      <div class="top">
          <a href="#" @click="goback"></a>
          <p>支付宝花呗设置</p>
      </div>
      <div class="content">
          <input type="text" placeholder="可用额度(元)">
          <input type="text" placeholder="已使用(元)">
          <input type="text" placeholder="已授权(元)">
          <input type="text" placeholder="总额度(元)">
      </div>
      <div class="space"></div>
      <div class="footer">
          <button>创建</button>
      </div>
  </div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
    methods:{
        goback(){
            this.$router.go("-1")
        }
    }
    
}
</script>

<style lang="less" scoped>
.space{
    height: 500px;
    background-color: #f6f6f6;
}
.top{
    background-color: #ff8f87;
    display: flex;
    align-items: center;
    height: 40px;
    a{
        width: 20px;
        height: 20px;
        background: url("../../assets/img/left.png")no-repeat;
        background-size: 100%;
    }
    p{
        margin: 0;
        margin-left: 33%;
        color: #fff;
    }
}
.content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    input{
        border: none;
        width: 100%;
        height: 35px;
        border-bottom: 1px solid #f6f6f6;
        text-indent: 1em;
    }
}
.footer{
    position: fixed;
    bottom: 0;
    background-color: #0f0;
    height: 50px;
    width: 100%;
    text-align: center;
    line-height: 50px;
    color: #fff;
    button{
        background-color: #0f0;
        border: none;
    }
}
</style>